// 文章列表组件样式

a {
    pointer-events:none;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }
  
  
  .timeline {
    margin: 0px auto;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: auto;

    .infinite-list-phantom {
      position: absolute;
      left: 0;
      top: 0;
      right: 0;
      z-index: -1;
    }


    &__content {
      position: relative;
      margin: 0px auto;
      margin-top: 0.5rem;
      width: 100%;
      max-width: 960px;
      &__entry-list {
        flex: 1;
        border-radius: 2px;
        width: 700px;
        .list-container {
      
          background-color: #fff;
          &__header {
            padding: 1.3rem 1rem;
            border-bottom: 1px solid hsla(0, 0%, 59.2%, 0.1);
          }
          &__nav{
            display: flex;
            justify-content: flex-start!important;
            .nav-list{
              display: flex;
              justify-content: space-between;
              align-items: center;
              line-height: 1;
              &__item{
                padding: 0 1.2rem;
                font-size: 1.17rem;
                border-right: 1px solid hsla(0,0%,59.2%,.2);
                position: relative;
                cursor: pointer;
                a{
                  color: #909090;
                }
                .active{
                  color: #007fff;
                }
              }
            }
          }
        }
      }
    }
  }
  // 列表数据
  .entry-list {
    width: 100%;
    background-color: #fff;
    position: relative;
    // 每一项
    .item {
      transition: all 0.3s ease-in;
      &__content {
        cursor: pointer;
        position: relative;
        background: #fff;
        padding: 12px 20px 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        &__meta {
          color: #86909c;
          display: flex;
          align-items: center;
          .user-message {
            display: flex;
            align-items: center;
            margin-right: 8px;
            max-width: 162px;
            font-size: 13px;
            line-height: 22px;
            color: #4e5969;
            word-break: break-all;
            .user-popover {
              display: inline;
            }
          }
          .date {
            position: relative;
            padding: 0 10px;
            line-height: 22px;
            font-size: 13px;
            flex-shrink: 0;
          }
          .tag_list {
            display: flex;
            align-items: center;
            .tag {
              display: flex;
              align-items: center;
              position: relative;
              flex-shrink: 0;
              font-size: 13px;
              line-height: 22px;
              padding: 0 8px;
              color: #86909c;
            }
            .tag:not(:last-child):after {
              position: absolute;
              right: 0px;
              display: block;
              content: " ";
              width: 3px;
              height: 3px;
              border-radius: 50%;
              background: #4e5969;
            }
          }
        }
        &__wrap {
          display: flex;
          padding-bottom: 12px;
          border-bottom: 1px solid rgba(228, 230, 235, 0.5);
          margin-top: 10px;
          width: 100%;
        }
      }
    }
  }
  .date::before,
  .date:after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 1px;
    height: 14px;
    background: #e5e6eb;
    content: " ";
  }
  .date::before {
    left: 0;
  }
  .date::after {
    right: 0;
  }
  
  .content-main {
    flex: 1 1 auto;
    &__title {
      display: flex;
      margin-bottom: 8px;
      .title {
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: #1d2129;
        width: 100%;
      }
    }
    &__abstract {
      margin-bottom: 10px;
      .abstract {
        color: #86909c;
        font-size: 13px;
        line-height: 22px;
      }
    }
    &__action-area {
      display: flex;
      align-items: center;
      li {
        display: flex;
        align-items: center;
        position: relative;
        margin-right: 20px;
        font-size: 13px;
        line-height: 20px;
        color: #4e5969;
        flex-shrink: 0;
        i {
          display: block;
          width: 16px;
          height: 16px;
          background-size: 100%;
        }
        span {
          margin-left: 4px;
        }
      }
    }
  }
  .content-thumb {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    margin-left: 24px;
    background-color: #fff;
    border-radius: 2px;
  }
  // 浏览量icon
  .view i {
    background-image: url("https://lf3-cdn-tos.bytescm.com/obj/static/xitu_juejin_web/img/view.1eda8fa.png");
  }
  // 点赞icon
  .like i {
    background-image: url();
  }
  // 评论icon
  .comment i {
    background-image: url("");
  }
  // 点赞hover-icon
  .like:hover {
    i {
      background-image: url();
    }
    span {
      color: #1d7dfa;
    }
  }
  // 评论hover-icon
  .comment:hover {
    i {
      background-image: url("");
    }
    span {
      color: #1d7dfa;
    }
  }
  // 广告tag
  .advertisement {
    position: absolute;
    top: 12px;
    right: 20px;
    border: 1px solid #c9cdd4;
    box-sizing: border-box;
    border-radius: 2px;
    line-height: 18px;
    width: 42px;
    text-align: center;
    color: #c9cdd4;
    font-size: 13px;
  }
  // 单一数据hover
  .item-hover:hover {
    background: #fafafa;
  }
  .item-hover:hover .dislike-button {
    display: block;
  }
  // 右上角关闭icon
  .dislike-button {
    position: absolute;
    right: 1.667rem;
    transition: all 0.15s linear;
    top: 1.333rem;
    display: none;
    width: 1rem;
    height: 1rem;
    background: url(https://lf3-cdn-tos.bytescm.com/obj/static/xitu_juejin_web/29d9ea681a1040a9e1ba2bc4ee12fa20.svg)
      0 0 no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
  }
  .svg{
    width: 12px;
    height: 12px;
  }
  .dislike-button:after{
    display: block;
    content: " ";
    position: absolute;
    padding: 10px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }